package com.xianbeiying.app.ckgl.bean;

import java.util.List;

/**
 * 设备数据
 */
public class DevicesBean {

    /**
     * systemid : 18838586676481
     * ctrlid : 0
     * deviceid : 0
     * devicetype : -128
     * greenhouseid : 1
     * devicedn : null
     * name : 首部1
     * status : null
     * remark : null
     */

    private List<DEVICESBean> DEVICES;
    /**
     * fanCount : 1
     * farmCount : 0
     * pumpCount : 1
     * rollingCount : 1
     * systemId : 18838586676481
     * tapCount : 2
     * tapMagneticCount : 0
     */

    private List<COUNTSBean> COUNTS;
    /**
     * greenhouseId : 1
     * greenhouseName : 大棚
     */

    private List<GREENHOUSEBean> GREENHOUSE;
    /**
     * systemid : 18838586676481
     * ctrlid : 0
     * deviceid : 0
     * devicetype : -128
     * greenhouseid : 1
     * devicedn : null
     * name : 首部1
     * status : null
     * remark : null
     */

    private List<ALLDEVICESBean> ALLDEVICES;

    public List<DEVICESBean> getDEVICES() {
        return DEVICES;
    }

    public void setDEVICES(List<DEVICESBean> DEVICES) {
        this.DEVICES = DEVICES;
    }

    public List<COUNTSBean> getCOUNTS() {
        return COUNTS;
    }

    public void setCOUNTS(List<COUNTSBean> COUNTS) {
        this.COUNTS = COUNTS;
    }

    public List<GREENHOUSEBean> getGREENHOUSE() {
        return GREENHOUSE;
    }

    public void setGREENHOUSE(List<GREENHOUSEBean> GREENHOUSE) {
        this.GREENHOUSE = GREENHOUSE;
    }

    public List<ALLDEVICESBean> getALLDEVICES() {
        return ALLDEVICES;
    }

    public void setALLDEVICES(List<ALLDEVICESBean> ALLDEVICES) {
        this.ALLDEVICES = ALLDEVICES;
    }

    public static class DEVICESBean {
        private long systemid;
        private int ctrlid;
        private int deviceid;
        private int devicetype;
        private int greenhouseid;
        private Object devicedn;
        private String name;
        private Object status;
        private Object remark;

        public long getSystemid() {
            return systemid;
        }

        public void setSystemid(long systemid) {
            this.systemid = systemid;
        }

        public int getCtrlid() {
            return ctrlid;
        }

        public void setCtrlid(int ctrlid) {
            this.ctrlid = ctrlid;
        }

        public int getDeviceid() {
            return deviceid;
        }

        public void setDeviceid(int deviceid) {
            this.deviceid = deviceid;
        }

        public int getDevicetype() {
            return devicetype;
        }

        public void setDevicetype(int devicetype) {
            this.devicetype = devicetype;
        }

        public int getGreenhouseid() {
            return greenhouseid;
        }

        public void setGreenhouseid(int greenhouseid) {
            this.greenhouseid = greenhouseid;
        }

        public Object getDevicedn() {
            return devicedn;
        }

        public void setDevicedn(Object devicedn) {
            this.devicedn = devicedn;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public Object getStatus() {
            return status;
        }

        public void setStatus(Object status) {
            this.status = status;
        }

        public Object getRemark() {
            return remark;
        }

        public void setRemark(Object remark) {
            this.remark = remark;
        }
    }

    public static class COUNTSBean {
        private int fanCount;
        private int farmCount;
        private int pumpCount;
        private int rollingCount;
        private long systemId;
        private int tapCount;
        private int tapMagneticCount;

        public int getFanCount() {
            return fanCount;
        }

        public void setFanCount(int fanCount) {
            this.fanCount = fanCount;
        }

        public int getFarmCount() {
            return farmCount;
        }

        public void setFarmCount(int farmCount) {
            this.farmCount = farmCount;
        }

        public int getPumpCount() {
            return pumpCount;
        }

        public void setPumpCount(int pumpCount) {
            this.pumpCount = pumpCount;
        }

        public int getRollingCount() {
            return rollingCount;
        }

        public void setRollingCount(int rollingCount) {
            this.rollingCount = rollingCount;
        }

        public long getSystemId() {
            return systemId;
        }

        public void setSystemId(long systemId) {
            this.systemId = systemId;
        }

        public int getTapCount() {
            return tapCount;
        }

        public void setTapCount(int tapCount) {
            this.tapCount = tapCount;
        }

        public int getTapMagneticCount() {
            return tapMagneticCount;
        }

        public void setTapMagneticCount(int tapMagneticCount) {
            this.tapMagneticCount = tapMagneticCount;
        }
    }

    public static class GREENHOUSEBean {
        private int greenhouseId;
        private String greenhouseName;
        private String greenhouseAddress;

        public String getGreenhouseAddress() {
            return greenhouseAddress;
        }

        public void setGreenhouseAddress(String greenhouseAddress) {
            this.greenhouseAddress = greenhouseAddress;
        }

        public int getGreenhouseId() {
            return greenhouseId;
        }

        public void setGreenhouseId(int greenhouseId) {
            this.greenhouseId = greenhouseId;
        }

        public String getGreenhouseName() {
            return greenhouseName;
        }

        public void setGreenhouseName(String greenhouseName) {
            this.greenhouseName = greenhouseName;
        }
    }

    public static class ALLDEVICESBean {
        private long systemid;
        private int ctrlid;
        private int deviceid;
        private int devicetype;
        private int greenhouseid;
        private Object devicedn;
        private String name;
        private Object status;
        private Object remark;

        public long getSystemid() {
            return systemid;
        }

        public void setSystemid(long systemid) {
            this.systemid = systemid;
        }

        public int getCtrlid() {
            return ctrlid;
        }

        public void setCtrlid(int ctrlid) {
            this.ctrlid = ctrlid;
        }

        public int getDeviceid() {
            return deviceid;
        }

        public void setDeviceid(int deviceid) {
            this.deviceid = deviceid;
        }

        public int getDevicetype() {
            return devicetype;
        }

        public void setDevicetype(int devicetype) {
            this.devicetype = devicetype;
        }

        public int getGreenhouseid() {
            return greenhouseid;
        }

        public void setGreenhouseid(int greenhouseid) {
            this.greenhouseid = greenhouseid;
        }

        public Object getDevicedn() {
            return devicedn;
        }

        public void setDevicedn(Object devicedn){
            this.devicedn = devicedn;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public Object getStatus() {
            return status;
        }

        public void setStatus(Object status) {
            this.status = status;
        }

        public Object getRemark() {
            return remark;
        }

        public void setRemark(Object remark) {
            this.remark = remark;
        }
    }
}
